package org.learn.test;

public class WhileExercise {
    public static void main(String[] args){
        int i = 1;
        while(i <= 100){
            if( i % 3 == 0){
            System.out.println("i=" + i);
            }
            i++;
        }
        //打印40-200之间所有的偶数
        int j = 40;
        while ( j <= 200){
            if( j % 2 == 0){
            System.out.println("j=" + j);
            }
            j++;
        }
    }
}
